import { createApp } from 'vue'

import App from './App.vue'
import router from './router'
import pinia from '@/stores'
// 清除默认样式
import '@/assets/main.scss'
// 使用element-plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'

const app = createApp(App)

app.use(pinia)
app.use(router)
app.use(ElementPlus, {
  locale: zhCn
})

app.mount('#app')
